package Servidor;

import java.util.ArrayList;
import java.util.List;
import javax.swing.UIManager;
import Ventanas.admin.PanelInicialA;
import Ventanas.admin.VentanaA;
import util.SocketManager;

public class Servidor {
	public static final int puerto = 3000;
	public static int maximoConexiones = 5;
	public static int usuariosConectados = 0;
	public static List<SocketManager> sockets = new ArrayList<SocketManager>();

	public static void main(String[] args) {
		// Look & Feel Nimbus
		for (UIManager.LookAndFeelInfo laf : UIManager
				.getInstalledLookAndFeels()) {
			if ("Nimbus".equals(laf.getName()))
				try {
					UIManager.setLookAndFeel(laf.getClassName());
				} catch (Exception ex) {
				}
		}
		PanelInicialA ventana = new PanelInicialA(new VentanaA());
		Server server = new Server(3000, ventana);
	}
}
